.c-martin__input__contain {
  width: 100%;
  position: relative;
  .iconfont {
    position: absolute;
    right: 5px;
    top: 20px;
    font-size: 12px;
    opacity: 0;
    cursor: pointer;
    transition: .5s;
    &.c-input__clear {
      opacity: 1;
    }
  }
}
.c-martin__input {
  width: 100%;
  height: 25px;
  padding: 15px 0 5px;
  border-bottom: 1px solid #000;
}

.c-martin__input__placholder {
  font-size: 14px;
  position: absolute;
  left: 5px;
  top: 17px;
  transition: .5s;
  &.c-martin_placeholder--active {
    top: -2px;
    font-size: 12px;
    color: #2196f3;
  }
}

.c-martin__input__border {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width:0;
  height: 2px;
  background: #2196f3;
  transition: width .5s;
  &.c-martin__border--active {
    width: 100%;
  }
}

/* 字体矢量图 */
.c-martin__font {
  margin-left: 30px;
}
.c-martin__font__li {
  position: relative;
  padding-top: 10px;
  float: left;
  width: 100px;
  height: 90px;
  border: 1px solid #444;
  text-align: center;
  margin: 0 30px 30px 0;
  cursor: pointer;
  &:hover .iconfont {
    font-size: 50px;
  }
  .iconfont {
    // display: block;
    width: 40px;
    height: 40px;
    font-size: 40px;
    transition: font-size .3s;
  }
  .iconfont__name {
    margin-top: 10px;
  }
}

/* Dialog弹窗*/
.c-martin__dialog__contain {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  .c-martin__dialog {
    position: relative;
    border-radius: 4px;
    width: 30%;
    margin: 0 auto;
    background: #fff;
    .c-dialog__header {
      padding: 20px;
      position: relative;
      .c-dialog__header__close {
        position: absolute;
        top: 20px;
        right: 20px;
        color: #909399;
        cursor: pointer;
      }
    }
    .c-dialog__body {
      padding: 25px 25px 30px;
    }
    .c-dialog__footer {
      border-top: 1px solid #f5f5f5;
      text-align: center;
      padding: 10px 20px 20px;
    }
  }
}

.fade-enter {
  opacity: 0;
  transform: translateY(-30px);
}
.fade-enter-to {
  opacity: 1;
  transform: translateY(0);
}
.fade-leave {
  opacity: 1;
  transform: translateY(30p);
}
.fade-leave-to {
  opacity: 0;
  transform: translateY(-30px);
}
.fade-enter-active {
  transition: all .5s;
}
.fade-leave-active {
  transition: all .5s;
}

/* 粒子效果 */
.c-small__canvas {
  width: 100%;
  height: 100%;
}

/* Button按钮 */
.c-margin__button__ul {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}
.c-margin__button__li {
  float: left;
  margin-right: 5px;
}
.c-martin__button {
  border: 1px solid #bfbfbf;
  padding: 12px 20px;
  border-radius: 4px;
  background: #fff;
  color: #444;
  cursor: pointer;
  &:active { // 鼠标点击且不松开的时候
    color: #3a8ee6;
    border-color: #3a8ee6;
    background: #ecf5ff;
  }
  &.c-button__medium {
    padding: 10px 20px;
  }
  &.c-button__small {
    padding: 9px 15px;
  }
  &.c-button__mini {
    padding: 7px 15px;
  }
}
.c-button__primary {
  background: #409eff;
  border-color: #409eff;
  color: #fff;
  &:focus { // 鼠标点击后没有点击外部
    opacity: .7;
  }
  &:active { // 鼠标点击且不松开的时候
    background: #3a8ee6;
    border-color: #3a8ee6;
    color: #fff;
  }
}

.toast-enter-active {
  position: fixed;
  animation: scale .5s forwards;
}

.toast-leave-active {
  position: fixed;
  animation: scale .5s forwards reverse;
}

@keyframes scale {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 5vh;
    opacity: 1;
  }
}

.c-martin__toast {
  position: fixed;
  left: 50%;
  top: 5vh;
  transform: translateX(-50%);
  min-width: 300px;
  margin: 0 auto;
  padding: 15px 15px 15px 20px;
  background: #edf2fc;
  border-radius: 5px;
  max-width: 500px;
  font-size: 14px;
  line-height: 14px;
  text-align: left;
  text-indent: 1em;
  border: 1px solid transparent;
}
.c-martin__toast .c-martin__toast__icon {
  width: 16px;
  height: 16px;
  float: left;
  background: #000;
}
.c-martin__toast.c-martin__toast--error {
  background: #fef0f0;
  border-color: #fde2e2;
  color: #f56c6c;
}
.c-martin__toast.c-martin__toast--success {
  background: #f0f9eb;
  color: #67c23a;
  border-color:#e1f3d8;
}

/* 分页器 */
.c-pagenation__ul {
  display: flex;
  align-items: center;
}
.c-pagenation__tab,
.c-pagenation__option {
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 32px;
  background: #f4f4f5;
  color: #606266;
  border-radius: 4px;
  transition: all 0.3s;
  user-select: none;
  cursor: pointer;
}
.c-pagenation__tab:hover {
  background: #00c1de;
  color: #fff;
}
.c-pagenation__tab--active {
  background: #00c1de;
  color: #fff;
}
.c-pagenation__option,
.c-pagenation__section {
  float: left;
}
.c-prev__disabled:disabled {
  cursor: not-allowed;
}

.c-prev__disabled {
  color: #c0c4cc;
}

.c-pagenation__prev:hover .c-arrow,
.c-pagenation__next:hover .c-arrow {
  display: block;
}
.c-pagenation__prev:hover .c-point,
.c-pagenation__next:hover .c-point {
  display: none;
}
.c-pagenation__prev .c-arrow {
  transform: rotate(-180deg);
}
.c-arrow {
  font-size: 12px;
  display: none;
}

